W3TC\Util_Environment D

Total Complexity 247
Dependencies 2
Dependents 125
Total lines 1,270
Lines of code 694
Logical lines of code 425
Comment lines 377
Methods 67
Properties 1

Methods 67

Method Rating Maintainability Complexity Lines of code
to_boolean()
A
53 16 23
url_format()
A
45 13 42
url_relative_to_full()
A
49 13 26
url_query()
A
51 10 24
is_flushable_post()
A
53 10 22
document_root()
A
48 8 35
detect_post_id()
A
58 9 15
is_w3tc_pro()
S
60 8 12
url_to_docroot_filename()
S
46 6 37
is_https()
S
61 7 12
site_path()
S
52 6 24
home_domain_root_url()
S
59 6 12
is_using_master_config()
S
57 5 17
cache_blog_dir()
S
57 5 16
blog_id()
S
58 5 16
parse_path()
S
58 5 15
is_wpmu()
S
63 6 10
safe_redirect_temp()
S
54 4 21
realpath()
S
58 4 16
path_remove_dots()
S
59 4 15
is_dbcluster()
S
65 5 8
normalize_file_minify()
S
59 4 14
normalize_file()
S
59 4 14
w3tc_edition()
S
68 4 7
cache_blog_minify_dir()
S
65 4 9
is_wpmu_subdomain()
S
74 4 4
wp_config_path()
S
62 3 12
instance_id()
S
63 3 11
filename_to_url()
S
62 3 11
host_port()
S
63 3 11
stripslashes()
S
66 3 8
is_rest_request()
S
71 3 5
network_home_url_uri()
S
66 3 8
home_url_host()
S
66 3 8
is_apache()
S
71 3 5
url_to_uri()
S
69 2 6
is_w3tc_pro_dev()
S
79 2 3
redirect()
S
67 2 7
is_nginx()
S
76 2 3
wp_upload_dir()
S
68 2 7
is_litespeed()
S
76 2 3
remove_query_all()
S
69 2 6
url_to_host()
S
70 2 6
is_iis()
S
76 2 3
url_to_maybe_https()
S
70 2 6
set_preview()
S
69 2 6
get_server_version()
S
68 2 6
host()
S
68 2 7
preg_quote()
S
69 1 7
is_preview_mode()
S
78 1 3
is_url()
S
79 1 3
w3tc_header()
S
76 1 4
is_zlib_enabled()
S
79 1 3
home_url_uri()
S
79 1 3
wp_safe_redirect_fallback()
S
80 1 3
site_url_uri()
S
79 1 3
cache_dir()
S
79 1 3
normalize_path()
S
72 1 5
remove_query()
S
75 1 4
translate_file()
S
81 1 3
docroot_to_full_filename()
S
75 1 4
get_url_regexp()
S
69 1 6
home_domain_root_url_regexp()
S
73 1 5
home_url_maybe_https()
S
73 1 5
home_url_regexp()
S
73 1 5
site_root()
S
71 1 6
reset_microcache()
S
74 1 5